-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dashboard Lists Integration #3090
Dashboard Lists Integration #3090
Conversation
dfe9fe1
to
ad46ccb
Compare
@pjfitzgibbons is this the same as #3000? |
Yes, this time basebranch "main"
…On Thu, Dec 15, 2022 at 1:28 PM Ashwin P Chandran ***@***.***> wrote:
@pjfitzgibbons <https://github.com/pjfitzgibbons> is this the same as
#3000
<#3000>?
—
Reply to this email directly, view it on GitHub
<#3090 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAACYNSPO5Z7GORXUIDJHUTWNOEO3ANCNFSM6AAAAAATAFFESE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/plugins/opensearch_dashboards_react/public/context/types.ts
Outdated
Show resolved
Hide resolved
How are we doing on this PR? |
@seanneumann Ready for continuing review. Previous quesitons addressed. |
@pjfitzgibbons cool. Can you also have someone in your group review it too? Would love to see their feedback, too if possible. |
@pjfitzgibbons I'm still not able to make this feature work when i clone it locally and run it. I still see the same error that I called out in my last review. Do you have a different OSD setup? do you have any plugins installed? |
@ashwin-pc Error on default Dashboard-create fixed now. |
@pjfitzgibbons can we also have josh/ eric review this |
Test snapshots need to be updated and it would be great if the PR was rebased. |
@AMoo-Miki Working on test updates now... |
Updating tests momentarily... |
Cypress tests are failing from upstream : |
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #3090 +/- ##
==========================================
- Coverage 66.45% 66.44% -0.01%
==========================================
Files 3209 3210 +1
Lines 61633 61670 +37
Branches 9506 9514 +8
==========================================
+ Hits 40960 40979 +19
- Misses 18396 18412 +16
- Partials 2277 2279 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pjfitzgibbons I haven't finished reviewing this yet, but I wanted to flag that I don't think we should have any dashboard
-app-specific props in the generic react components like table_list_view
. It also seems like we have a number of duplicated types that would be useful to consolidate.
src/plugins/opensearch_dashboards_react/public/table_list_view/table_list_view.tsx
Show resolved
Hide resolved
src/plugins/opensearch_dashboards_react/public/table_list_view/table_list_view.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was able to successfully pull the code and verify that it works. I did not verify the behavior with additional dashboard creators though. Is there an easy way for me to verify that it works without installing the observability plugin?
src/plugins/dashboard/public/application/listing/__snapshots__/dashboard_listing.test.js.snap
Outdated
Show resolved
Hide resolved
src/plugins/opensearch_dashboards_react/public/context/types.ts
Outdated
Show resolved
Hide resolved
...plugins/opensearch_dashboards_react/public/table_list_view/components/create_button_menu.tsx
Outdated
Show resolved
Hide resolved
...plugins/opensearch_dashboards_react/public/table_list_view/components/create_button_menu.tsx
Outdated
Show resolved
Hide resolved
...plugins/opensearch_dashboards_react/public/table_list_view/components/create_button_menu.tsx
Outdated
Show resolved
Hide resolved
Sigh. TWO character commit. |
e517b11
to
72b9434
Compare
Meeting notes from call 3/27/2023 3:30 PM Discussed EUILink pros/cons as described in Description of this PR. Final decision, supported by A. Jadhav, S.Neumann and K. Avilla, K. Garcia : Change will be restored to use Final commits to this PR will be posted today and CI run is expected to be all-green. PR will then be ready for merge with support from K.Avilla and evidence of all previous reviews. |
@@ -196,7 +196,7 @@ export async function BrowserProvider({ getService }: FtrProviderContext) { | |||
* @param {boolean} insertTimestamp Optional | |||
* @return {Promise<void>} | |||
*/ | |||
public async get(url: string, insertTimestamp: boolean = true) { | |||
public async get(url: string, insertTimestamp: boolean = false) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the test is failing due to this change. could we revert this back to true?
* Plugins register their links with registerDashboardProvider API Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com>
Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com>
Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com>
926d481
to
5e23be7
Compare
Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com>
Cypress passes locally :
ARM appears to be a platform issue :
|
cypress test failures can be ignored - they're related to vis builder changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, thanks for providing!
Signed-off-by: Josh Romero <rmerqg@amazon.com>
* Dashboard-List Integration * Plugins register their links with registerDashboardProvider API Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com> * Update CHANGELOG.md Signed-off-by: Josh Romero <rmerqg@amazon.com> --------- Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com> Signed-off-by: Josh Romero <rmerqg@amazon.com> Co-authored-by: Peter Fitzgibbons <pjfitz@amazon.com> Co-authored-by: Josh Romero <rmerqg@amazon.com> (cherry picked from commit d2bd318) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
* Dashboard-List Integration * Plugins register their links with registerDashboardProvider API Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com> * Update CHANGELOG.md Signed-off-by: Josh Romero <rmerqg@amazon.com> --------- Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com> Signed-off-by: Josh Romero <rmerqg@amazon.com> Co-authored-by: Peter Fitzgibbons <pjfitz@amazon.com> Co-authored-by: Josh Romero <rmerqg@amazon.com> Signed-off-by: vagimeli <vagimeli@amazon.com>
* Dashboard-List Integration * Plugins register their links with registerDashboardProvider API Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com> * Update CHANGELOG.md Signed-off-by: Josh Romero <rmerqg@amazon.com> --------- Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com> Signed-off-by: Josh Romero <rmerqg@amazon.com> Co-authored-by: Peter Fitzgibbons <pjfitz@amazon.com> Co-authored-by: Josh Romero <rmerqg@amazon.com> (cherry picked from commit d2bd318) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Dashboard-List Integration * Plugins register their links with registerDashboardProvider API Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com> * Update CHANGELOG.md Signed-off-by: Josh Romero <rmerqg@amazon.com> --------- Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com> Signed-off-by: Josh Romero <rmerqg@amazon.com> Co-authored-by: Peter Fitzgibbons <pjfitz@amazon.com> Co-authored-by: Josh Romero <rmerqg@amazon.com> Signed-off-by: David Sinclair <david@sinclair.tech>
Description
These changes enable the interactions demonstrated in this animation:
Audio starts at 0:05. Unmute to listen.
Dashboard-integration-demo2.mov
References : observability#1308
Issues WIP
[FEATURE] Dashboards List Extensibility & Integrate Observability Apps/Panels/EventAnalytics
Testing Failures vs UX/CX of Linking "integrated" Plugins
Using EUILink w/ href=
Pros :
Cons :
Using EUILink w/ onClick=(() => navigateToApp(app, path) )
Pros :
Cons :
http://.../app/dashboard?_t=123456#/list?_g=...
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr